//
//  ZQSBaseVC.h
//  mylike
//
//  Created by Mylike on 2019/9/9.
//  Copyright © 2019 Mylike. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "MBProgressHUD+CCHUD.h"
#import "EmptyView.h"
typedef NS_ENUM(NSUInteger, XSWNetWorkStatus) {
    
    XSWNetWorkStatusNoInternet,//没有网络
    XSWNetWorkStatusFlow,//流量连接
    XSWNetWorkStatusWifi //wifi链接
};

/// 照片清理类型
typedef enum {
    
    /// 照片
    all = 0,
    
    /// 相似照片
    similar,
    
    /// 屏幕截图
    screenshot,
    
    /// 可瘦身照片
    eased,
    
    /// 模糊照片
    vague
}PhotosCategory;

/// 视频清理类型
typedef enum {
    
    /// 相似视频
    resemble = 0,
    
    /// 超大视频
    huge,
    
    /// 重复视频
    repeat,
    
    /// 损坏视频
    damage
}VideoCategory;

NS_ASSUME_NONNULL_BEGIN

@interface ZQSBaseVC : UIViewController
@property(nonatomic, strong)UILabel *navTitleLbl;
@property(nonatomic, strong)UIButton *rightBarBuBtn;
@property(nonatomic, strong)UIButton *leftBarBuBtn;
@property(nonatomic,strong) UIImageView * bgView;
@property(nonatomic,strong) UIImageView * contentBgView;
@property(nonatomic, strong)EmptyView *emptyV;

- (void)zqsLoadView:(NSString *)loadStr;
- (void)dismissLoadView;
- (void)loadSvpView:(NSString *)loadStr;
- (void)showMessage:(NSString *)message; //弹窗

-(void)changeNavBarColor;
- (void)initNavgationControllerWithBGColor:(NSString *)colorStr navTitle:(NSString*)title isLeft:(BOOL)isLeft rightBtnWithTitle:(NSString*)tit isImage:(BOOL)isImage;
//导航栏 右侧按钮颜色
- (void)initNavgationControllerWithBGColor:(NSString *)colorStr navTitle:(NSString*)title isLeft:(BOOL)isLeft rightBtnWithTitle:(NSString*)tit rightTextColor:(NSString *)rColor;
//网络状态
@property (nonatomic,assign) XSWNetWorkStatus netStatus;

//添加没有网络界面
- (void)addEmptyViewWithFrame:(CGRect)frame;

//移除没有网络界面
- (void)removeEmptyView;

//点击空白视图回调
- (void)clickEmptyView;

//监测网络状态的方法
- (void)monitorNetStateChanged:(NSInteger)netState;


-(void)changeNavColorBlue:(BOOL)isBlue;


@end

NS_ASSUME_NONNULL_END
